package dao;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * AbstractAdmin entity provides the base persistence definition of the Admin
 * entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public abstract class AbstractAdmin implements java.io.Serializable {

	// Fields

	private Integer adminid;
	private String adminname;
	private String password;
	private String code;
	private String adminlevel;
	private String email;
	private Date regdate;
	private String admininfo;
	private String adminfullname;
	private Set adminmsgs = new HashSet(0);

	// Constructors

	/** default constructor */
	public AbstractAdmin() {
	}

	/** minimal constructor */
	public AbstractAdmin(String adminname, String password, String code,
			String adminlevel, String email, Date regdate, String admininfo) {
		this.adminname = adminname;
		this.password = password;
		this.code = code;
		this.adminlevel = adminlevel;
		this.email = email;
		this.regdate = regdate;
		this.admininfo = admininfo;
	}

	/** full constructor */
	public AbstractAdmin(String adminname, String password, String code,
			String adminlevel, String email, Date regdate, String admininfo,
			String adminfullname, Set adminmsgs) {
		this.adminname = adminname;
		this.password = password;
		this.code = code;
		this.adminlevel = adminlevel;
		this.email = email;
		this.regdate = regdate;
		this.admininfo = admininfo;
		this.adminfullname = adminfullname;
		this.adminmsgs = adminmsgs;
	}

	// Property accessors

	public Integer getAdminid() {
		return this.adminid;
	}

	public void setAdminid(Integer adminid) {
		this.adminid = adminid;
	}

	public String getAdminname() {
		return this.adminname;
	}

	public void setAdminname(String adminname) {
		this.adminname = adminname;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getAdminlevel() {
		return this.adminlevel;
	}

	public void setAdminlevel(String adminlevel) {
		this.adminlevel = adminlevel;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Date getRegdate() {
		return this.regdate;
	}

	public void setRegdate(Date regdate) {
		this.regdate = regdate;
	}

	public String getAdmininfo() {
		return this.admininfo;
	}

	public void setAdmininfo(String admininfo) {
		this.admininfo = admininfo;
	}

	public String getAdminfullname() {
		return this.adminfullname;
	}

	public void setAdminfullname(String adminfullname) {
		this.adminfullname = adminfullname;
	}

	public Set getAdminmsgs() {
		return this.adminmsgs;
	}

	public void setAdminmsgs(Set adminmsgs) {
		this.adminmsgs = adminmsgs;
	}

}